1.2 With the Age class in Programming Exercise 1.1.a. as a guide, develop a Salary class to scan in salaries from the input until the sentinel (−1.00) is reached, and to print out the average of those salaries. The average salary is the total of the salaries divided by the number of salaries. | |
| View Solution | |
| << Back | Next >> |